import {paths} from "@/utils/paths.js";

export function realPx(px) {
    const maxWidth = window.innerWidth
    return px * (maxWidth / 375)
}

export function formatMusicTime(interval) {
   interval = interval | 0
   const minute = interval / 60 | 0
   const second = interval % 60
   return `${minute}:${second}`
}

export function removeTags(htmlString) {
    return htmlString.replace(/<[^>]*>/g, '');
}


export const modelDate = [
    {
        'id':1,
        'full_img':"https://digital-collection-new1.oss-cn-hangzhou.aliyuncs.com/breadbook/202410/20241012222129_670a1569d00c1.png?Expires=1731290568&OSSAccessKeyId=STS.NU7k74ufbXV8PjFNRHR6yVe8c&security-token=CAISyQJ1q6Ft5B2yfSjIr5aCII2AmLlD75TTUkz3qlIdXrlVuaCTgTz2IHhMe3hgAukcsPUxnW1T6vkdlq9uU5tCTECciHmFQU0No22beIPkl5Gfz95t0e%2BIewW6Dxr8w7WhAYHQR8%2FcffGAck3NkjQJr5LxaTSlWS7OU%2FTL8%2BkFCO4aRQ6ldzFLKc5LLw950q8gOGDWKOymP2yB4AOSLjIx5lsl2D4vsPjjm5bNu0WGtjCglL9J%2FbaWC4O%2FcsxhMK14V9qIx%2BFsfsLDqnUIs0cbpPwv1vIVp26a5Y3CXEMu7xSJMvbd9tZoKAt0bbQ7HKhepf37juZoEAF1ZjUCcHynVMMisES3LOjIqKOsk2M8JU65W%2F2yvfiZZ1prmk1pV68AIBN9ekoDMLFaEVQbMlcnIRK5CZSsoxupD2nuNe7rmc9Z3%2FJ8zVv4o7LiTxqAAX8WXj0HDZ9d%2Fmh11bcfXT7KYrgSRY%2Bh3P%2BC67MQedeZY93Dq89RdZyruWAR%2BQeZp4nEMk%2FrNV6bSYNCGSI59lueNp4Ti%2B4EdATv72pmUQrxOLfHrGRSmGZpcQyRcKpoSVCOKIKlwi3t2FBjsy3A9rzUmBKEsCqlfpsbJ0F3hH8iIAA%3D&Signature=894UYQYxZgNoe1SS2TFoC3aGOao%3D",
        'model':'https://static-project-01-new1.oss-cn-hangzhou.aliyuncs.com/szcg/mudan/mudan.dae',
        'text':'牡丹',
        'position':{
            x:0,
            y:0,
            z:0
        }
    },
    {
        'id':2,
        'full_img':"https://digital-collection-new1.oss-cn-hangzhou.aliyuncs.com/breadbook/202410/20241012222129_670a1569d00c1.png?Expires=1731290568&OSSAccessKeyId=STS.NU7k74ufbXV8PjFNRHR6yVe8c&security-token=CAISyQJ1q6Ft5B2yfSjIr5aCII2AmLlD75TTUkz3qlIdXrlVuaCTgTz2IHhMe3hgAukcsPUxnW1T6vkdlq9uU5tCTECciHmFQU0No22beIPkl5Gfz95t0e%2BIewW6Dxr8w7WhAYHQR8%2FcffGAck3NkjQJr5LxaTSlWS7OU%2FTL8%2BkFCO4aRQ6ldzFLKc5LLw950q8gOGDWKOymP2yB4AOSLjIx5lsl2D4vsPjjm5bNu0WGtjCglL9J%2FbaWC4O%2FcsxhMK14V9qIx%2BFsfsLDqnUIs0cbpPwv1vIVp26a5Y3CXEMu7xSJMvbd9tZoKAt0bbQ7HKhepf37juZoEAF1ZjUCcHynVMMisES3LOjIqKOsk2M8JU65W%2F2yvfiZZ1prmk1pV68AIBN9ekoDMLFaEVQbMlcnIRK5CZSsoxupD2nuNe7rmc9Z3%2FJ8zVv4o7LiTxqAAX8WXj0HDZ9d%2Fmh11bcfXT7KYrgSRY%2Bh3P%2BC67MQedeZY93Dq89RdZyruWAR%2BQeZp4nEMk%2FrNV6bSYNCGSI59lueNp4Ti%2B4EdATv72pmUQrxOLfHrGRSmGZpcQyRcKpoSVCOKIKlwi3t2FBjsy3A9rzUmBKEsCqlfpsbJ0F3hH8iIAA%3D&Signature=894UYQYxZgNoe1SS2TFoC3aGOao%3D",
        'model':'https://static-project-01-new1.oss-cn-hangzhou.aliyuncs.com/szcg/hudielan/hudielan.dae',
        'text':'蝴蝶兰',
        'position':{
            x:0.18,
            y:0.18,
            z:0.18
        }
    },
    {
        'id':3,
        'full_img':"https://digital-collection-new1.oss-cn-hangzhou.aliyuncs.com/breadbook/202410/20241012222129_670a1569d00c1.png?Expires=1731290568&OSSAccessKeyId=STS.NU7k74ufbXV8PjFNRHR6yVe8c&security-token=CAISyQJ1q6Ft5B2yfSjIr5aCII2AmLlD75TTUkz3qlIdXrlVuaCTgTz2IHhMe3hgAukcsPUxnW1T6vkdlq9uU5tCTECciHmFQU0No22beIPkl5Gfz95t0e%2BIewW6Dxr8w7WhAYHQR8%2FcffGAck3NkjQJr5LxaTSlWS7OU%2FTL8%2BkFCO4aRQ6ldzFLKc5LLw950q8gOGDWKOymP2yB4AOSLjIx5lsl2D4vsPjjm5bNu0WGtjCglL9J%2FbaWC4O%2FcsxhMK14V9qIx%2BFsfsLDqnUIs0cbpPwv1vIVp26a5Y3CXEMu7xSJMvbd9tZoKAt0bbQ7HKhepf37juZoEAF1ZjUCcHynVMMisES3LOjIqKOsk2M8JU65W%2F2yvfiZZ1prmk1pV68AIBN9ekoDMLFaEVQbMlcnIRK5CZSsoxupD2nuNe7rmc9Z3%2FJ8zVv4o7LiTxqAAX8WXj0HDZ9d%2Fmh11bcfXT7KYrgSRY%2Bh3P%2BC67MQedeZY93Dq89RdZyruWAR%2BQeZp4nEMk%2FrNV6bSYNCGSI59lueNp4Ti%2B4EdATv72pmUQrxOLfHrGRSmGZpcQyRcKpoSVCOKIKlwi3t2FBjsy3A9rzUmBKEsCqlfpsbJ0F3hH8iIAA%3D&Signature=894UYQYxZgNoe1SS2TFoC3aGOao%3D",
        'model':'https://static-project-01-new1.oss-cn-hangzhou.aliyuncs.com/szcg/yuanwei/yuanwei.dae',
        'text':'鸢尾',
        'position':{
            x:0.2,
            y:0.2,
            z:0.2
        }
    },
    {
        'id':4,
        'full_img':"https://digital-collection-new1.oss-cn-hangzhou.aliyuncs.com/breadbook/202410/20241012222129_670a1569d00c1.png?Expires=1731290568&OSSAccessKeyId=STS.NU7k74ufbXV8PjFNRHR6yVe8c&security-token=CAISyQJ1q6Ft5B2yfSjIr5aCII2AmLlD75TTUkz3qlIdXrlVuaCTgTz2IHhMe3hgAukcsPUxnW1T6vkdlq9uU5tCTECciHmFQU0No22beIPkl5Gfz95t0e%2BIewW6Dxr8w7WhAYHQR8%2FcffGAck3NkjQJr5LxaTSlWS7OU%2FTL8%2BkFCO4aRQ6ldzFLKc5LLw950q8gOGDWKOymP2yB4AOSLjIx5lsl2D4vsPjjm5bNu0WGtjCglL9J%2FbaWC4O%2FcsxhMK14V9qIx%2BFsfsLDqnUIs0cbpPwv1vIVp26a5Y3CXEMu7xSJMvbd9tZoKAt0bbQ7HKhepf37juZoEAF1ZjUCcHynVMMisES3LOjIqKOsk2M8JU65W%2F2yvfiZZ1prmk1pV68AIBN9ekoDMLFaEVQbMlcnIRK5CZSsoxupD2nuNe7rmc9Z3%2FJ8zVv4o7LiTxqAAX8WXj0HDZ9d%2Fmh11bcfXT7KYrgSRY%2Bh3P%2BC67MQedeZY93Dq89RdZyruWAR%2BQeZp4nEMk%2FrNV6bSYNCGSI59lueNp4Ti%2B4EdATv72pmUQrxOLfHrGRSmGZpcQyRcKpoSVCOKIKlwi3t2FBjsy3A9rzUmBKEsCqlfpsbJ0F3hH8iIAA%3D&Signature=894UYQYxZgNoe1SS2TFoC3aGOao%3D",
        'model':'https://static-project-01-new1.oss-cn-hangzhou.aliyuncs.com/szcg/yueji/yueji.dae',
        'text':'月季',
        'position':{
            x:0.2,
            y:0.2,
            z:0.2
        }
    },
    {
        'id':5,
        'full_img':"https://digital-collection-new1.oss-cn-hangzhou.aliyuncs.com/breadbook/202410/20241012222129_670a1569d00c1.png?Expires=1731290568&OSSAccessKeyId=STS.NU7k74ufbXV8PjFNRHR6yVe8c&security-token=CAISyQJ1q6Ft5B2yfSjIr5aCII2AmLlD75TTUkz3qlIdXrlVuaCTgTz2IHhMe3hgAukcsPUxnW1T6vkdlq9uU5tCTECciHmFQU0No22beIPkl5Gfz95t0e%2BIewW6Dxr8w7WhAYHQR8%2FcffGAck3NkjQJr5LxaTSlWS7OU%2FTL8%2BkFCO4aRQ6ldzFLKc5LLw950q8gOGDWKOymP2yB4AOSLjIx5lsl2D4vsPjjm5bNu0WGtjCglL9J%2FbaWC4O%2FcsxhMK14V9qIx%2BFsfsLDqnUIs0cbpPwv1vIVp26a5Y3CXEMu7xSJMvbd9tZoKAt0bbQ7HKhepf37juZoEAF1ZjUCcHynVMMisES3LOjIqKOsk2M8JU65W%2F2yvfiZZ1prmk1pV68AIBN9ekoDMLFaEVQbMlcnIRK5CZSsoxupD2nuNe7rmc9Z3%2FJ8zVv4o7LiTxqAAX8WXj0HDZ9d%2Fmh11bcfXT7KYrgSRY%2Bh3P%2BC67MQedeZY93Dq89RdZyruWAR%2BQeZp4nEMk%2FrNV6bSYNCGSI59lueNp4Ti%2B4EdATv72pmUQrxOLfHrGRSmGZpcQyRcKpoSVCOKIKlwi3t2FBjsy3A9rzUmBKEsCqlfpsbJ0F3hH8iIAA%3D&Signature=894UYQYxZgNoe1SS2TFoC3aGOao%3D",
        'model':'/front/models/yujinxiang/yujinxiang.dae',
        // https://static-project-01-new1.oss-cn-hangzhou.aliyuncs.com/szcg/yujinxiang/yujinxiang.dae
        'text':'郁金香',
        'position':{
            x:0.2,
            y:0.2,
            z:0.2
        }
    },
    {
        'id':6,
        'full_img':"https://digital-collection-new1.oss-cn-hangzhou.aliyuncs.com/breadbook/202410/20241012222129_670a1569d00c1.png?Expires=1731290568&OSSAccessKeyId=STS.NU7k74ufbXV8PjFNRHR6yVe8c&security-token=CAISyQJ1q6Ft5B2yfSjIr5aCII2AmLlD75TTUkz3qlIdXrlVuaCTgTz2IHhMe3hgAukcsPUxnW1T6vkdlq9uU5tCTECciHmFQU0No22beIPkl5Gfz95t0e%2BIewW6Dxr8w7WhAYHQR8%2FcffGAck3NkjQJr5LxaTSlWS7OU%2FTL8%2BkFCO4aRQ6ldzFLKc5LLw950q8gOGDWKOymP2yB4AOSLjIx5lsl2D4vsPjjm5bNu0WGtjCglL9J%2FbaWC4O%2FcsxhMK14V9qIx%2BFsfsLDqnUIs0cbpPwv1vIVp26a5Y3CXEMu7xSJMvbd9tZoKAt0bbQ7HKhepf37juZoEAF1ZjUCcHynVMMisES3LOjIqKOsk2M8JU65W%2F2yvfiZZ1prmk1pV68AIBN9ekoDMLFaEVQbMlcnIRK5CZSsoxupD2nuNe7rmc9Z3%2FJ8zVv4o7LiTxqAAX8WXj0HDZ9d%2Fmh11bcfXT7KYrgSRY%2Bh3P%2BC67MQedeZY93Dq89RdZyruWAR%2BQeZp4nEMk%2FrNV6bSYNCGSI59lueNp4Ti%2B4EdATv72pmUQrxOLfHrGRSmGZpcQyRcKpoSVCOKIKlwi3t2FBjsy3A9rzUmBKEsCqlfpsbJ0F3hH8iIAA%3D&Signature=894UYQYxZgNoe1SS2TFoC3aGOao%3D",
        'model':'https://static-project-01-new1.oss-cn-hangzhou.aliyuncs.com/szcg/lianhua/lianhua.dae',
        'text':'兰花',
        'position':{
            x:0.2,
            y:0.2,
            z:0.2
        }
    },
    {
        'id':11,
        'full_img':"https://digital-collection-new1.oss-cn-hangzhou.aliyuncs.com/breadbook/202410/20241012222129_670a1569d00c1.png?Expires=1731290568&OSSAccessKeyId=STS.NU7k74ufbXV8PjFNRHR6yVe8c&security-token=CAISyQJ1q6Ft5B2yfSjIr5aCII2AmLlD75TTUkz3qlIdXrlVuaCTgTz2IHhMe3hgAukcsPUxnW1T6vkdlq9uU5tCTECciHmFQU0No22beIPkl5Gfz95t0e%2BIewW6Dxr8w7WhAYHQR8%2FcffGAck3NkjQJr5LxaTSlWS7OU%2FTL8%2BkFCO4aRQ6ldzFLKc5LLw950q8gOGDWKOymP2yB4AOSLjIx5lsl2D4vsPjjm5bNu0WGtjCglL9J%2FbaWC4O%2FcsxhMK14V9qIx%2BFsfsLDqnUIs0cbpPwv1vIVp26a5Y3CXEMu7xSJMvbd9tZoKAt0bbQ7HKhepf37juZoEAF1ZjUCcHynVMMisES3LOjIqKOsk2M8JU65W%2F2yvfiZZ1prmk1pV68AIBN9ekoDMLFaEVQbMlcnIRK5CZSsoxupD2nuNe7rmc9Z3%2FJ8zVv4o7LiTxqAAX8WXj0HDZ9d%2Fmh11bcfXT7KYrgSRY%2Bh3P%2BC67MQedeZY93Dq89RdZyruWAR%2BQeZp4nEMk%2FrNV6bSYNCGSI59lueNp4Ti%2B4EdATv72pmUQrxOLfHrGRSmGZpcQyRcKpoSVCOKIKlwi3t2FBjsy3A9rzUmBKEsCqlfpsbJ0F3hH8iIAA%3D&Signature=894UYQYxZgNoe1SS2TFoC3aGOao%3D",
        'model':'/models/haitun05/haitun.dae',
        'text':'海豚5',
        'position':{
            x:0,
            y:0,
            z:0
        }
    }
]



